// 通过定义插件的形式完成组件的全局注册
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import UploadImg from './UploadImg'

// 全局注册组件插件
const componentPlugin = {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('upload-excel', UploadExcel)
    Vue.component('upload-img', UploadImg)
  }
}

export default componentPlugin
